ISCPersistenceUnitCollection
The ISCPersistenceUnitCollection contains all outer level persistence units loaded in the application. It contains one entry for each active data model.
The following table contains the methods for the ISCPersistenceUnitCollection interface:
Method |
Description |
---|---|
IUnknown _NewEnum() |
Constructs an instance of unit enumerator object. |
ISCPersistenceUnit * Add(VARIANT Locator, VARIANT Disposition [optional]) |
Adds a new persistence unit to the unit collection. |
VARIANT_BOOL Clear() |
Purges all units from the collection. |
long Count() |
Number of persistence units in the collection. |
ISCPersistenceUnit * Create(ISCPropertyBag * PropertyBag, VARIANT ObjectId [optional]) |
Creates a new unit, and registers the unit with the collection. |
ISCPersistenceUnit * Item(VARIANT nIndex) |
Passes back an IUnknown pointer for a PersistenceUnit component. |
VARIANT_BOOL Remove(VARIANT Selector, VARIANT Save [optional]) |
Removes a persistence unit from the collection. |
More information about property descriptions is located in the Property Bag for Persistence Units and Persistence Unit Collections section.
Copyright © 2025 Quest Software, Inc. |